﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq.Mapping;

namespace DomainModel
{
    [Table(Name = "Orders")]
    public class Order
    {
        [Column(IsPrimaryKey = true, IsDbGenerated = true, AutoSync = AutoSync.OnInsert)]
        public Int32 OrderID { get; set; }

        [Column]
        public DateTime OrderDate { get; set; }

        [Column]
        public Int32 rf_UserID { get; set; }

        [Column]
        public Int32 rf_StatusID { get; set; }

        [Column]
        public Boolean IsPaid { get; set; }

        
        [Column]
        public DateTime DeliveryDate { get; set; }

        public Order()
        {
                   
        }
    }
}
